﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.6.4.min.js")" type="text/javascript" ></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.17.custom.min.js")" type="text/javascript" ></script> 
    <script src="@Url.Content("~/Scripts/jquery.simpletip-1.3.1.min.js")" type="text/javascript" ></script> 
    @*Theses script will be referenced by the ajax loaded parts*@
    <script src="@Url.Content("~/Scripts/jquery.download.js")" ></script>
    <script src="@Url.Content("~/Scripts/jquery.ajaxLinkHandler.js")" ></script>
    @RenderSection("Head", false)
</head>
<body>
    <div id="wrapper" class="group">
        <div id="header">
            @Html.Partial("_Header")
        </div>
        <div id="main" class="group">
            @if (IsSectionDefined("AsideLeft"))
            { 
                <div id="aside-left" class="group content aside">@RenderSection("AsideLeft")</div>
            }

            <div id="content" class="group content">@RenderBody()</div>

            @if (IsSectionDefined("AsideRight"))
            { 
                <div id="aside-right" class="group content aside">@RenderSection("AsideRight")</div>
            }
        </div>
        <div id="footer">
            @Html.Partial("_Footer"); 
        </div>
    </div>
    @RenderSection("Foot", false)
</body>
</html>
